package com.xnyzc.lhy.mis.service.banner;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xnyzc.lhy.mis.entity.banner.HomePageBanner;
import com.xnyzc.lhy.mis.entity.param.banner.BannerChangeStatusParam;
import com.xnyzc.lhy.mis.entity.param.banner.BannerSaveParam;
import com.xnyzc.lhy.mis.entity.param.banner.BannerSearchParam;
import com.xnyzc.lhy.mis.entity.result.banner.BannerSearchResult;

import java.util.List;

/**
 * <p>
 * 首页轮播图 服务类
 * </p>
 *
 * @author haoyfa
 * @since 2019-12-28
 */
public interface IHomePageBannerService extends IService<HomePageBanner> {

    /**
     * banner列表查询
     *
     * @return
     */
    List<BannerSearchResult> queryBannerList(BannerSearchParam bannerSearchParam);

    /**
     * banner启动停用
     *
     * @return
     */
    void changeBannerStatus(BannerChangeStatusParam bannerChangeStatusParam);

    /**
     * banner新增编辑
     *
     * @return
     */
    void saveBanner(BannerSaveParam bannerSaveParam);
}
